package com.cloud.async.business.core;

/**
 * @author chengrui
 * @title: AbstractAsyncFactory
 * @projectName webCloudAsync
 * @description: 面向对象容器中相应的方法
 * @date 2021/9/23 23:07
 */
public interface DataSourceAsyncBusiness extends AsyncBusiness {


    /**
     * 根据asyncName当前缓存中是否含有指定的key
     * @param asyncKeyName
     * @return
     */
    boolean contains(String asyncKeyName);

    /**
     * 获取当前缓存中的个数
     * @return
     */
    int getCount();

    /**
     * 获取所有的asyncName的key值
     * @return
     */
    String[] getKeyNames();




}
